<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="com.odbpc.system.SysApp,
                 com.odbpc.exception.IdObjectException"%>

<%@ include file="../include/jsp/head.jsp"%>  
<%
     String strId=ParamUtil.getString(request,"strId","");
       if(strId.equals(""))
       throw new IdObjectException("请求处理的信息id为空！或者已经不存在");
    SysApp para=new SysApp(globa,false);
       String where="where strId='"+strId+"'";
       SysApp  para0=para.show(where);
    if(para0==null){
        globa.closeCon();
        throw new IdObjectException("请求处理的信息id='"+strId+"'对象为空！","请检查该信息的相关信息");
    }
         int intMaxSort=1;
     
     //返回页面的url
String strUrl="sysAppList.jsp";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=globa.APP_TITLE%></title>
<link rel="stylesheet" rev="stylesheet" href="../css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="../css/css1.css">
<style type="text/css">
<!--
.atten {font-size:12px;font-weight:normal;color:#F00;}
.style1 {font-size: 12px}
-->
</style>
<script src="../include/js/chkFrm.js"></script>
<script language="javascript">
<!--
function chkFrm(){
       
        if(frm.strAppName.value=="")
        {
            alert("\请输入应用系统名称！！！")
            frm.strAppName.focus();
            return false;
        }
        else if (frm.strAppCompy.value=="")
        {
            alert("\请输入应用系统开发厂商！！！")
            frm.strAppCompy.focus();
            return false;
        }
        else if (frm.strDbVer.value=="")
        {
            alert("\请输入Oracle版本！！！")
            frm.strDbVer.focus();
            return false;
        }
         else  frm.submit();
    }
    function chgType(inputVlaue,tId){
          location.href='sysAppModi.jsp?strId='+tId;
    }
-->
</script>
</head>

<body class="ContentBody">
<form name="frm" method="post" action="sysAppAct.jsp">
<input type="hidden" name=strUrl  value="<%=strUrl%>">
 <input type="hidden" name=<%=Constants.ACTION_TYPE%>  value=<%=Constants.UPDATE_STR%>>
 <input type="hidden" name=strId  value=<%=para0.getStrId()%>>
 
<div class="MainDiv">
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
  <tr>
      <th class="tablestyle_title" ><div align="center" class="style1">
        <div align="left">应用系统</div>
      </div></th>
  </tr>
  <tr>
    <td height="0" class="CPanel" valign="top">
        <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
        <tr><td height="0" align="left"></td></tr>
        <TR>
            <TD width="100%" height="122" valign="top">
                <fieldset>
                <legend>修改应用系统</legend>
               <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
               <tr class="td_listbg_1">
                <td width="10%" align="right" class="time1" height="25">系统名称：</td>
                 <td width="90%" class="time1" height="25"> &nbsp;
                   <input type="text" name="strAppName" size="30" value="<%=para0.getStrAppName()%>" class="forms_color1">
                </td>
              </tr>
              <tr class="td_listbg_2">
                <td width="10%" align="right" class="time1">Oracle版本：</td>
                <td width="90%" class="time1" height="25"> &nbsp;
                   <input type="text" name="strDbVer" size="30" class="forms_color1" value="<%=para0.getStrDbVer()%>">
                </td>
              </tr>
              <tr class="td_listbg_1">
                <td width="10%" align="right" class="time1" height="25">开发厂商：</td>
                <td width="90%" class="time1"> &nbsp;
                  <input type="text" name="strAppCompy" size="30" class="forms_color1" value="<%=para0.getStrAppCompy()%>">
                </td>
              </tr>
              
             </table>
                      <br/>
              </fieldset>
            </TD>
        </TR>
        </TABLE>
        </td>
  </tr>
        <TR>
            <TD colspan="2" align="center" height="28">
            <input type="button" name="b_submit" value="确 定" class="button" onclick="chkFrm()" style="cursor:hand"/>
            <input type="button" name="b_reset"  value="重 置" class="button" onclick="frm.reset();" style="cursor:hand"/>
            <input type="button" name="b_back"   value="返 回" class="button" onClick="location.href='<%=strUrl%>'" style="cursor:hand"/>
            </TD>　　
        </TR>
    </TABLE>
    
</div>
</form>
</body>
</html>
<%@ include file="../include/jsp/footer.jsp"%>
